<template>
	<picker mode="date" fields="month" @change="change">
		<fui-form-item label="帐套启用时间" arrow highlight>
			<view v-if="!account_start_date" class="fs-color__label">请选择帐套启用时间</view>
			<view v-else>{{ account_start_date }}</view>
		</fui-form-item>
	</picker>
</template>

<script setup>
	import { ref } from 'vue';

	const account_start_date = defineModel('account_start_date');
	const change = (e) => {
		account_start_date.value = e.detail.value;
	};
</script>

<style></style>